package cn.csxw.openchina.dagger2.module;

import cn.csxw.openchina.dagger2.presenter.NewMovePresenter;
import cn.csxw.openchina.ui.fragment.moveFragment.NewMoveFragment;
import dagger.Module;
import dagger.Provides;

/**
 * 动弹模块的新的动弹界面的Module类
 */

@Module
public class NewMoveModule {
    private NewMoveFragment mNewMoveFragment;

    public NewMoveModule(NewMoveFragment mNewMoveFragment){
        this.mNewMoveFragment = mNewMoveFragment;
    }

    @Provides
    public NewMovePresenter providesNewMovePresenter(){
        return new NewMovePresenter(mNewMoveFragment);
    }

    @Provides
    public NewMoveFragment providesNewMoveFragment(){
        return mNewMoveFragment;
    }

}
